import { createApp } from 'vue'
import 'normalize.css' // 引入重置样式的库
import '@/styles/index.scss' // 全局的样式定义
import '@/assets/iconfont/iconfont.js' // 导入iconfont图层
import 'virtual:svg-icons-register'
import baseComponents, { ElementPlusIcons } from '@/components/BaseComponents/baseComponents' // 导入基础组件
import directive from '@/directive/directive' // 全局指令
import router from '@/router'
import store from '@/store' // 导入pinia
import App from './App.vue'
import dayjs from 'dayjs'
import 'dayjs/locale/zh-cn' // 导入本地化语言

dayjs.locale('zh-cn') // 使用本地化语言

createApp(App).use(router).use(store).use(baseComponents).use(ElementPlusIcons).use(directive).mount('#app')
